package com.haixiaoke.saas.apartment.domain;

import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 退订规则对象 biz_unsubscribe_rule
 *
 * @author panda
 * @date 2024-03-30
 */
@Data
public class UnsubscribeRule extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 退订规则
     */
    private Long unsubscribeRuleId;

    /**
     * 退订规则名称
     */
    @Excel(name = "退订规则名称")
    private String unsubscribeRuleName;

    /**
     * 退订规则内容百分比
     */
    @Excel(name = "退订规则内容百分比")
    private String unsubscribeContent;

    /**
     * 退订类型（1严格模式，2酒店模式）
     */
    @Excel(name = "退订类型", readConverterExp = "1=严格模式,2=酒店模式")
    private String unsubscribeType;

    /**
     * 退订状态（0显示，1隐藏）
     */
    @Excel(name = "退订状态", readConverterExp = "0=显示,1=隐藏")
    private String unsubscribeState;

    /**
     * 退订备注
     */
    @Excel(name = "退订备注")
    private String unsubscribeRemark;

    /**
     * 逻辑删除标志(0代表存在
     */
    private String delFlag;

    /**
     * 退订规则内容百分比map
     */
    private Map<String, BigDecimal> unsubscribeContentMap;
}
